<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:t="http://myfaces.apache.org/tomahawk">
<DIV id='screen'
	style="position: absolute; background-color: rgba(0, 0, 0, .8); min-height: 800px; width: 100%; z-index: -1;top:0;"></DIV>
<div id="sendMessageForm">


	<h:form id="msgForm">
		<h:panelGrid columns="2">
			<h:outputText value="Receiver - " />
			<h:inputText id="receiver" value="#{msgBean.receiver}" />
		</h:panelGrid>
		<h:inputTextarea id="msgText" rows="5" cols="7" style="width:280px;"
			value="#{msgBean.message}" />

		<h:commandButton value="send" id="sndMsgBtn"
			action="#{msgBean.sendMessage}" />
		<div onclick="hideMessageForm()"
			style="border: 1px black dotted; width: 35px; cursor: default; float: right">
			<b>Close</b>
		</div>
	</h:form>
</div>

</html>